#pragma once

void swap (int *x, int *y)
{
	int temp;
	
	temp = *x;
	*x = *y;
	*y = temp;
}



void xor_swap (int *x, int *y)		//The *xOR swapping algorithm makes a comeback!
{
	*x = *x ^ *y;
	*y = *x ^ *y;
	*x = *x ^ *y;
}

